const r = require.context('./',true,/\.vue$/)
const Notices = [
    {
        path: '/Home',
        component: r => require.ensure([], () => r(require('@/pages/Home/Home')), 'Home'),
        redirect: '/Home/Notices',
        meta: {
            title: '公告管理'
        },
        children: []
    }
]
r.keys().forEach(item => {
    item = r(item).default
    Notices[0].children.push({
        path: item.name,
        meta: item.meta,
        component: item
    })
});
export default Notices